package com.baitiaojun.system.admin.service.permission;

import com.baitiaojun.system.admin.pojo.SysRoleDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

public interface RoleService extends IService<SysRoleDO> {

    Set<SysRoleDO> getRolesByUserId(String userId);

    boolean isAnySupperAdmin(Long[] roleIds);
}
